// Decompiled by DJ v3.7.7.81 Copyright 2004 Atanas Neshkov  Date: 2007-9-15 18:54:02


// Source File Name:   ls.java

package com.zelix;

import java.io.*;


//            js, jm, ks, is, 
//            ps, zs, pm, qy, 
//            jb

public class ls extends js
    implements pm
{

    int i;
    private static String z[];

    ls(int j, jb jb, jm jm1)
        throws IOException
    {
        super(j, jm1);
        i = jb.readUnsignedShort();
    }

    public String a()
    {
        return ((zs)super.f.a(i)).b().replace('/', '.');
    }

    public String b()
    {
        return ((zs)super.f.a(i)).b();
    }

    public void a(String s)
    {
        ((zs)super.f.a(i)).a(s);
    }

    public is a(qy qy1, qy qy2, PrintWriter printwriter)
    {
        try
        {
            is is1 = super.f.a(i);
            if(is1 instanceof zs)
            {
                ks ks1 = new ks(this, (zs)is1);
                qy1.b(is1, ks1);
                return ks1;
            } else
            {
                printwriter.println(super.f.b() + z[2] + z[0]);
                return new ps(this, 7, z[0]);
            }
        }
        catch(ArrayIndexOutOfBoundsException _ex)
        {
            printwriter.println(super.f.b() + z[2] + z[1]);
        }
        return new ps(this, 7, z[1]);
    }

    protected void a(DataOutputStream dataoutputstream)
        throws IOException
    {
        dataoutputstream.writeByte(7);
        dataoutputstream.writeShort(i);
    }

    private static String dsse(char[] chs) {
        byte key;
        for (int i = 0; i < chs.length; i++) {
            switch (i % 5) {
                case 0:
                    key = 0x19;
                    break;
                case 1:
                    key = 118;
                    break;
                case 2:
                    key = 44;
                    break;
                case 3:
                    key = 58;
                    break;
                default:
                    key = 55;
                    break;
            }
            chs[i] ^= key;
        }
        return new String(chs).intern();
    }

    static
    {
        String as[];
        as = new String[3];
        as[0] = "P\030Z[[p\022\fyXw\005X[YmV|UXuVB[Z|VETS|\016";
        as[1] = "Z\031BICx\030X\032gv\031@\032^w\022IB\027v\003X\032X\177V^[Y~\023";
        as[2] = "9L\f";
        for (int i = 0; i < as.length; i++) {
            as[i] = dsse(as[i].toCharArray());
        }
        z = as;

    }
}